import App from './App'

import Vant from './node_modules/vant/lib/vant';


// #ifndef VUE3
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
import bartop from '@/componets/bartop.vue'
Vue.component('bartop', bartop)
Vue.use(uView)

// Vue.use(uView)
// 如此配置即可
uni.$u.config.unit = 'rpx'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})

Vue.use(Vant);
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif